package com.tutu.common.util;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;

public class DatatablesJson<T> {
	@JsonProperty("sEcho")
	private String echo;
	@JsonProperty("iTotalRecords")
	private Integer totalRecords;
	@JsonProperty("iTotalDisplayRecords")
	private Integer totalDisplayRecords;
	@JsonProperty("aaData")
	private List<T> data;
	public String getEcho() {
		return echo;
	}
	public void setEcho(String echo) {
		this.echo = echo;
	}
	public Integer getTotalRecords() {
		return totalRecords;
	}
	public void setTotalRecords(Integer totalRecords) {
		this.totalRecords = totalRecords;
	}
	public Integer getTotalDisplayRecords() {
		return totalDisplayRecords;
	}
	public void setTotalDisplayRecords(Integer totalDisplayRecords) {
		this.totalDisplayRecords = totalDisplayRecords;
	}
	public List<T> getData() {
		return data;
	}
	public void setData(List<T> data) {
		this.data = data;
	}
	
}
